#!/bin/sh
val=`xmodmap -pke | grep "keycode  91 = KP_Delete KP_Decimal"`
echo $val
if [ -n "$val" ]
then
    xmodmap -e 'keycode 91 = KP_Delete comma'
else
    xmodmap -e 'keycode 91 = KP_Delete KP_Decimal'
fi
